package com.bl.student.dao.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Data
@Table(name = "point")
@ApiModel(value = "PointEntity", description = "积分类型")
@DynamicInsert
public class PointEntity {
    @Id
    @ApiModelProperty(value = "积分类型id")
    private String id;

    @ApiModelProperty(value = "积分类型")
    private String type;

    @ApiModelProperty(value = "积分值")
    private int value;

}
